package com.xxxx.server.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author Gaochenjie
 * @description 消息
 * @email none-j@qq.com
 * @date 2022/02/23 11:11
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ChatMsg {
    /**
     * 那个人发来的
     */
    private String from;
    /**
     * 发到那里去
     */
    private String to;
    /**
     * 内容
     */
    private String content;
    /**
     * 时间
     */
    private LocalDateTime date;
    /**
     * 昵称
     */
    private String fromNickName;
}
